﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace IPPointEndTest
{
    class Program
    {
        static void Main(string[] args)
        {
            IPEndPoint ip1 = new IPEndPoint(IPAddress.Parse("192.168.0.1"), 9999);
            IPEndPoint ip2 = new IPEndPoint(IPAddress.Parse("192.168.0.1"), 9999);

            Console.WriteLine(ip1.Equals(ip2));
            Console.Read();
        }
    }
}
